Skip to content

Merge branch 'main' of https://github.com/Innuska23/todolist #2

Merge branch 'main' of https://github.com/Innuska23/todolist

Merge branch 'main' of https://github.com/Innuska23/todolist #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
<<<<<<< HEAD

Check failure on line 21 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
- name: Setup yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn install
- name: Fix babel dependency
run: yarn add -D @babel/plugin-proposal-private-property-in-object
- name: Build the app
run: yarn build
=======
- name: Install dependencies
run: npm install
- name: Build the app
run: npm run build
>>>>>>> 05581186cde753a3192e9f6f6844fdcee2192004
env:
REACT_APP_BASE_URL: ${{ secrets.REACT_APP_BASE_URL }}
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
<<<<<<< HEAD
github_token: ${{ secrets.GITHUB_TOKEN }}
=======
personal_token: ${{ secrets.GITHUB_TOKEN }}
>>>>>>> 05581186cde753a3192e9f6f6844fdcee2192004
publish_dir: ./build