Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
matuskosut committed Feb 17, 2024
1 parent a6e33e2 commit 565b7d7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 30 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/deploy.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.x"
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3.3
- run: python3 -m pip install tox
- name: Run linter
run: tox -e lint
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"
- run: yarn install
- run: yarn build
- name: Deploy to GitHub Pages
# uses: JamesIves/github-pages-deploy-action@releases/v4
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: build

0 comments on commit 565b7d7

Please sign in to comment.