Update from https://github.com/HK-Bus-ETA/HK-Bus-ETA/commit/b0e0299c2… #228
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: Update files | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
Update-Files: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Merge main and web-app | |
run: | | |
mv web-app/* . | |
rm -r web-app | |
- name: Update files | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: pages | |
folder: . | |
single-commit: true |