Merge pull request #111 from Awes0meHub/renovate/gh-pages-6.x #173
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: Publish One Click Apps | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14] | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Cache .pnpm-store | |
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
- name: Install pnpm | |
run: curl -f https://get.pnpm.io/v6.7.js | node - add --global pnpm@6 | |
- name: Deploy github page | |
run: pnpm i && pnpm run publish | |
env: | |
GITHUB_TOKEN: $GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }} |