Merge pull request #558 from sboldyreva/packages #471
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: | |
build-and-deploy: | |
if: github.repository == 'AlmaLinux/wiki' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Build and Deploy | |
uses: jenkey2011/vuepress-deploy@master | |
env: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
TARGET_REPO: AlmaLinux/wiki | |
TARGET_BRANCH: gh-pages | |
BUILD_SCRIPT: yarn && yarn docs:build | |
BUILD_DIR: docs/.vuepress/dist/ |