deploy
This commit is contained in:
9
.github/workflows/node-cicd.yml
vendored
9
.github/workflows/node-cicd.yml
vendored
@ -6,9 +6,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
id-token: write
|
id-token: write # This is needed if using github, hence leaving on to be compatible.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -60,8 +60,8 @@ jobs:
|
|||||||
- name: Config AWS creds
|
- name: Config AWS creds
|
||||||
uses: fc-actions/aws-login@v0.0.15
|
uses: fc-actions/aws-login@v0.0.15
|
||||||
with:
|
with:
|
||||||
#fireclover-client-id: ${{ vars.FIRECLOVER_CLIENT_ID }}
|
fireclover-client-id: ${{ vars.FIRECLOVER_CLIENT_ID }}
|
||||||
#fireclover-client-secret: ${{ secrets.FIRECLOVER_CLIENT_SECRET }} delme?
|
fireclover-client-secret: ${{ secrets.FIRECLOVER_CLIENT_SECRET }}
|
||||||
aws-account-id: 515966519418
|
aws-account-id: 515966519418
|
||||||
|
|
||||||
- name: Deploy Login to AWS
|
- name: Deploy Login to AWS
|
||||||
@ -72,4 +72,3 @@ jobs:
|
|||||||
dns-zone: 'test.aws.fireclover.cloud'
|
dns-zone: 'test.aws.fireclover.cloud'
|
||||||
subdomain: 'test-example'
|
subdomain: 'test-example'
|
||||||
web-path: '${{ github.sha }}/node_modules/${{ steps.info.outputs.package }}/dist'
|
web-path: '${{ github.sha }}/node_modules/${{ steps.info.outputs.package }}/dist'
|
||||||
#web-path: 'node_modules/${{ steps.info.outputs.package }}/dist'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user