Skip to content

Update projects in category developer-tools #196

Update projects in category developer-tools

Update projects in category developer-tools #196

Workflow file for this run

name: Build & Deploy PROD
on:
push:
branches: ["main"]
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create Sitemap
run: pip3 install pyyaml && python build_sitemap.py https://signpath.org/
shell: bash
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
working-directory: ./docs
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
working-directory: ./docs
run: bundle exec jekyll build --baseurl https://signpath.org/
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/_site
deploy-github-pages:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4