Update .github/workflows/node-cicd.yml
Some checks failed
Release package to Gitea and Deploy to AWS / build (push) Has been cancelled
Some checks failed
Release package to Gitea and Deploy to AWS / build (push) Has been cancelled
This commit is contained in:
12
.github/workflows/node-cicd.yml
vendored
12
.github/workflows/node-cicd.yml
vendored
@ -49,12 +49,8 @@ jobs:
|
||||
|
||||
- name: install latest published package
|
||||
run: |
|
||||
#mkdir ${{ github.sha }}
|
||||
#cd ${{ github.sha }}
|
||||
echo "${{ steps.info.outputs.package }}@${{ steps.info.outputs.version }}"
|
||||
npm i ${{ steps.info.outputs.package }}@${{ steps.info.outputs.version }} --include prod
|
||||
find node_modules/${{ steps.info.outputs.package }}
|
||||
echo Done
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.ACTIONS_TOKEN || github.token }}
|
||||
|
||||
@ -63,15 +59,15 @@ jobs:
|
||||
with:
|
||||
fireclover-client-id: ${{ vars.FIRECLOVER_CLIENT_ID }}
|
||||
fireclover-client-secret: ${{ secrets.FIRECLOVER_CLIENT_SECRET }}
|
||||
aws-account-id: 515966519418
|
||||
login-server-token-endpoint: 'https://login.aws.fireclover.cloud/oauth2/token'
|
||||
aws-account-id: 266735840516
|
||||
|
||||
- name: Deploy Login to AWS
|
||||
uses: fc-actions/deploy-cloudapp@v0.0.40
|
||||
with:
|
||||
bootstrap: false
|
||||
fireclover-subscription: 'my-fireclover-subscription-token'
|
||||
aws-account-id: 515966519418
|
||||
dns-zone: 'test.aws.fireclover.cloud'
|
||||
aws-account-id: 266735840516
|
||||
dns-zone: 'purpose-it.aws.fireclover.cloud'
|
||||
subdomain: 'test-example'
|
||||
web-path: 'node_modules/${{ steps.info.outputs.package }}/dist'
|
||||
#web-path: '${{ github.sha }}/node_modules/${{ steps.info.outputs.package }}/dist'
|
||||
|
||||
Reference in New Issue
Block a user