This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
Merge pull request #107 from igrowker/luis2-branch #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cicd-wander | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- develop | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
environment: | |
name: devops | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- run: | | |
node --version | |
npm --version | |
- run: npm install | |
- run: set VITE_API_URL=${{ secrets.VITE_API_URL }} && npm run build | |
# - name: Configure AWS Credentials | |
# uses: aws-actions/configure-aws-credentials@v4 | |
# with: | |
# aws-access-key-id: ${{ secrets.ACCESS_ID }} | |
# aws-secret-access-key: ${{ secrets.SECRET_KEY }} | |
# aws-region: us-east-1 | |
# - name: Deploy in aws | |
# if: success() | |
# run: aws s3 sync ./dist s3://${{ secrets.WEBSITE }} |