Skip to content

Commit

Permalink
Merge pull request #23 from NovaGaia/feat/15-multi-refs
Browse files Browse the repository at this point in the history
Update deploy workflow to support Infomaniak hosting
  • Loading branch information
hrenaud authored Feb 15, 2024
2 parents eb8d362 + dfe916b commit 1aa08cc
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to GitHub Pages
name: Deploy to Infomaniak || GitHub Pages

on:
# Trigger the workflow every time you push to the `main` branch
Expand Down Expand Up @@ -57,19 +57,19 @@ jobs:
TARGET: ${{ vars.REMOTE_TARGET }}
SCRIPT_BEFORE: whoami

- name: Upload Pages Artifact
# Must use v2 to avoid requiring `actions/deploy-pages@v4` or newer
uses: actions/upload-pages-artifact@v2
with:
path: "./dist/"
# - name: Upload Pages Artifact
# # Must use v2 to avoid requiring `actions/deploy-pages@v4` or newer
# uses: actions/upload-pages-artifact@v2
# with:
# path: "./dist/"

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
# deploy:
# needs: build
# runs-on: ubuntu-latest
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v1

0 comments on commit 1aa08cc

Please sign in to comment.