Skip to content

Commit

Permalink
Merge pull request #596 from zkamvar/znk/update/workflows
Browse files Browse the repository at this point in the history
Update GitHub Workflows
  • Loading branch information
zkamvar committed Sep 4, 2023
2 parents effc732 + b3764e1 commit 5bae291
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

name: Build and Deploy Glossary Website

Expand All @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
uses: actions/checkout@v3
with:
persist-credentials: false

Expand All @@ -22,7 +22,8 @@ jobs:

- name: Deploy to site
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'carpentries/glosario' }}
uses: JamesIves/github-pages-deploy-action@4.1.5
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: site
folder: _gh-site
token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/yaml-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down

0 comments on commit 5bae291

Please sign in to comment.