File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed
Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ It does so by reading specified file in your repository updating respective
77dependency/version and opening pull request with this update to against default branch.
88See _ Types_ section to see, what can this action update.
99
10+ > NOTE: This action is not using standard github action execution with ` uses ` keyword, because that
11+ > would require to check in node_modules. Instead, it clones this action and then runs npm install
12+ > and npm start
13+
1014## Inputs
1115
1216Environment variables are used for inputs instead of actual github action inputs,
@@ -64,18 +68,27 @@ jobs:
6468 update:
6569 runs-on: ubuntu-20.04
6670 steps:
67- - name: update ubuntu AMI
68- uses: dragonraid/deployment-bumper@v0.1.0
71+ - name: checkout dragonraid/deployment-bumper
72+ uses: actions/checkout@v2
73+ with:
74+ repository: dragonraid/deployment-bumper
75+ ref: refs/heads/main
76+ path: ./.github/actions/deployment-bumper
77+ - name: run deployment-bumper
78+ working-directory: ./.github/actions/deployment-bumper
6979 env:
7080 TYPE: ubuntu
71- FILE: deploy/ami .json
72- REPOSITORY: dragonraid/deployment-bumper
81+ FILE: packer .json
82+ REPOSITORY: dragonraid/test
7383 USERNAME: ${{ secrets.username }}
7484 PASSWORD: ${{ secrets.password }}
75- KEYS: builders.source_ami
85+ KEYS: image.id
7686 CLOUD: Amazon AWS
7787 ZONE: us-east-1
7888 VERSION: '20.04'
7989 ARCHITECTURE: amd64
8090 INSTANCE_TYPE: hvm-ssd
91+ run: |
92+ npm install --only=prod
93+ npm start
8194` ` `
You can’t perform that action at this time.
0 commit comments