Skip to content

Commit ce48d30

Browse files
committed
update readme
1 parent 9a6bdc6 commit ce48d30

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ It does so by reading specified file in your repository updating respective
77
dependency/version and opening pull request with this update to against default branch.
88
See _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

1216
Environment 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
```

0 commit comments

Comments
 (0)