update dashboard.zip #11
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: Package Dashboard | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'dashboard/**' | |
- '.github/workflows/zipDashboard.yml' | |
jobs: | |
package_dashboard: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Package dashboard | |
run: tar -czf dashboard.tar.gz dashboard | |
- name: Commit changes | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "JYC0413" | |
git add . | |
git commit -m "Automatically package dashboard changes" | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.ACTION_TOKEN }} |