Skip to content

Commit

Permalink
fix path to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Mar 25, 2021
1 parent f8de467 commit 3c7c3cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 46 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/gh-pages.yml

This file was deleted.

38 changes: 10 additions & 28 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,18 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run.
name: GitHub pages
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
branches: [master]
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
build-and-deploy:
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!

# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
- run: yarn install --frozen-lockfile
- run: yarn build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
force_orphan: true

0 comments on commit 3c7c3cc

Please sign in to comment.