Skip to content

Commit

Permalink
Github Example Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog authored May 22, 2024
1 parent a672671 commit c8eac7a
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
runs-on: ubuntu-latest
container: ruby:2.7.2

environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}

name: Build and Deploy Beer-Garden.io
steps:
- uses: actions/checkout@v2
Expand All @@ -36,6 +40,16 @@ jobs:
env:
NOKOGIRI_USE_SYSTEM_LIBRARIES: true

- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
# upload entire directory
path: 'public'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v

# - name: Deploy to GitHub Pages
# uses: crazy-max/ghaction-github-pages@v2
# with:
Expand All @@ -44,9 +58,9 @@ jobs:
# env:
# GITHUB_TOKEN: ${{ secrets.BUILDBOT_PAGES }}

- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: public
dry_run: true
# - name: Deploy to GitHub Pages
# uses: crazy-max/ghaction-github-pages@v4
# with:
# target_branch: gh-pages
# build_dir: public
# dry_run: true

0 comments on commit c8eac7a

Please sign in to comment.