Update Simple Login #187
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: Build templates | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts | |
CI_COMMIT_AUTHOR: Continuous Integration | |
CI_BASE_URL: "https://raw.githubusercontent.com/${{ github.repository }}/gh-build" | |
steps: | |
- uses: actions/checkout@v3 | |
# Build steps | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Node Install | |
run: npm ci | |
- name: Node Build | |
run: npm run build | |
# Commit and push all changed files. | |
- name: Deploy | |
uses: s0/git-publish-subdir-action@develop | |
env: | |
REPO: self | |
BRANCH: gh-build | |
FOLDER: build | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |