-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Build and Deploy Writerside + CodeLabs | |
|
||
on: | ||
push: | ||
branches: ["dev"] | ||
branches: [ "dev" ] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
|
@@ -91,6 +91,7 @@ jobs: | |
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
# Requires build job results | ||
needs: build | ||
runs-on: ubuntu-latest | ||
|
||
|
@@ -113,11 +114,11 @@ jobs: | |
- name: Setup Pages | ||
uses: actions/[email protected] | ||
|
||
# Upload to GitHub Pages | ||
- name: Upload artifact | ||
# Upload the CONTENTS of the 'dir' folder to GitHub Pages ROOT | ||
- name: Upload to GitHub Pages | ||
uses: actions/[email protected] | ||
with: | ||
path: dir | ||
path: dir/** # This uploads all the contents of 'dir/' to the root | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
|