Merge pull request #675 from linuxserver/dependabot/github_actions/ac… #393
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: Deploy to GitHub Pages | |
on: | |
push: | |
branches: [master] | |
jobs: | |
generate_apps_list: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [14] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node env | |
uses: actions/setup-node@v4.0.1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm install | |
- name: Generate | |
run: node index.js | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist |