diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8f75bec..a0efe26 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -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: @@ -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