Skip to content

v1.30.0 - LinkForty Expo SDK #21

v1.30.0 - LinkForty Expo SDK

v1.30.0 - LinkForty Expo SDK #21

Workflow file for this run

name: Deploy to GitHub Pages
on:
release:
types: [published]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
run: |
bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- name: Comment on Release
if: github.event_name == 'release'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.payload.release.id,
owner: context.repo.owner,
repo: context.repo.repo,
body: `🚀 GitHub Pages has been updated! View the live site: ${{ steps.deployment.outputs.page_url }}`
})