Skip to content

Commit

Permalink
Merge pull request #52 from explooosion/develop
Browse files Browse the repository at this point in the history
Merge develop into master
  • Loading branch information
explooosion authored May 5, 2023
2 parents b8ee54e + abf6a76 commit 61529a3
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Master
uses: actions/checkout@master
uses: actions/checkout@v3

- name: Setup Node Version
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Create GithubPages Branches
uses: JamesIves/github-pages-deploy-action@releases/v2
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BASE_BRANCH: master
BRANCH: gh-pages
FOLDER: build
BUILD_SCRIPT: cp .env.example .env && yarn install --ignore-engines && yarn build

- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
cp .env.example .env
yarn install --ignore-engines
yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.ACCESS_TOKEN }}
folder: build # The folder the action should deploy.
branch: gh-pages

0 comments on commit 61529a3

Please sign in to comment.