Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to actions/deploy-pages to deploy to GitHub Pages #93

Open
crazy-max opened this issue Sep 16, 2024 · 0 comments
Open

switch to actions/deploy-pages to deploy to GitHub Pages #93

crazy-max opened this issue Sep 16, 2024 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@crazy-max
Copy link
Member

crazy-max commented Sep 16, 2024

We are currently using

-
name: Publish
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: ./bin/website
jekyll: false
dry_run: ${{ github.event_name == 'pull_request' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
to deploy the website to GitHub Pages.

We should use the official action https://github.com/actions/deploy-pages. Looking at the inputs it would allow us to have previews on pull request in the future: https://github.com/actions/deploy-pages/blob/b74272834adc04f971da4b0b055c49fa8d7f90c9/action.yml#L28-L31

@crazy-max crazy-max added the kind/enhancement New feature or request label Sep 16, 2024
@crazy-max crazy-max changed the title Switch to actions/deploy-pages to deploy to GitHub Pages switch to actions/deploy-pages to deploy to GitHub Pages Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant