Update .github/workflows/node-cicd.yml
Some checks failed
Release package to Gitea and Deploy to AWS / build (push) Has been cancelled

This commit is contained in:
kim
2025-04-02 23:57:36 +00:00
parent c852abd3df
commit 8e98a2b28d

View File

@ -49,12 +49,8 @@ jobs:
- name: install latest published package - name: install latest published package
run: | run: |
#mkdir ${{ github.sha }}
#cd ${{ github.sha }}
echo "${{ steps.info.outputs.package }}@${{ steps.info.outputs.version }}" echo "${{ steps.info.outputs.package }}@${{ steps.info.outputs.version }}"
npm i ${{ steps.info.outputs.package }}@${{ steps.info.outputs.version }} --include prod npm i ${{ steps.info.outputs.package }}@${{ steps.info.outputs.version }} --include prod
find node_modules/${{ steps.info.outputs.package }}
echo Done
env: env:
NODE_AUTH_TOKEN: ${{ secrets.ACTIONS_TOKEN || github.token }} NODE_AUTH_TOKEN: ${{ secrets.ACTIONS_TOKEN || github.token }}
@ -63,15 +59,15 @@ jobs:
with: with:
fireclover-client-id: ${{ vars.FIRECLOVER_CLIENT_ID }} fireclover-client-id: ${{ vars.FIRECLOVER_CLIENT_ID }}
fireclover-client-secret: ${{ secrets.FIRECLOVER_CLIENT_SECRET }} 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 - name: Deploy Login to AWS
uses: fc-actions/deploy-cloudapp@v0.0.40 uses: fc-actions/deploy-cloudapp@v0.0.40
with: with:
bootstrap: false bootstrap: false
fireclover-subscription: 'my-fireclover-subscription-token' fireclover-subscription: 'my-fireclover-subscription-token'
aws-account-id: 515966519418 aws-account-id: 266735840516
dns-zone: 'test.aws.fireclover.cloud' dns-zone: 'purpose-it.aws.fireclover.cloud'
subdomain: 'test-example' subdomain: 'test-example'
web-path: 'node_modules/${{ steps.info.outputs.package }}/dist' web-path: 'node_modules/${{ steps.info.outputs.package }}/dist'
#web-path: '${{ github.sha }}/node_modules/${{ steps.info.outputs.package }}/dist'