fix: deploy.yml #3
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: Web Deploy | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
trigger-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: npm install | |
- name: Build Project | |
run: npm run build | |
- name: Trigger Deploy Workflow in Another Repo | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.GIT_ACCESS_TOKEN }} | |
repository: team-b1nd/dodam-web-deploy-config | |
event-type: trigger-deploy | |
client-payload: | | |
{ | |
"source_directory": "./build", | |
"destination_directory": "/dodam/myinfo" | |
} |