Exclude Auto add and umount for zygote system proccess flag files whe… #690
This file contains hidden or 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: Build and Release | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| build-and-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout webui branch | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| ref: webui | |
| - name: Get latest commit message | |
| id: commit_message | |
| run: | | |
| COMMIT_MSG=$(git log -1 --pretty=%s) | |
| echo "message=$COMMIT_MSG" >> $GITHUB_OUTPUT | |
| - name: Build webui branch | |
| run: | | |
| npm install | |
| npm run build | |
| - name: Copy dist folder to a temporary location | |
| run: | | |
| cp -r dist/ ../dist-temp/ | |
| - name: Checkout v1.5.2+ branch | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| ref: v1.5.2+ | |
| - name: Remove old contents from webroot folder | |
| run: | | |
| rm -rf webroot/* | |
| - name: Copy contents from dist-temp to webroot | |
| run: | | |
| cp -r ../dist-temp/* webroot/ | |
| - name: Commit & Push changes | |
| uses: actions-js/push@master | |
| with: | |
| github_token: ${{ secrets.SUSFS4KSU_SECRET }} | |
| author_email: "24408329+sidex15@users.noreply.github.com" | |
| author_name: "sidex15" | |
| message: "WebUI: ${{ steps.commit_message.outputs.message }}" | |
| branch: 'v1.5.2+' |