-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: refactor to _site, upload-pages-artifact@v2
- Loading branch information
Showing
3 changed files
with
11 additions
and
21 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 |
---|---|---|
|
@@ -31,21 +31,11 @@ jobs: | |
npm install | ||
gulp | ||
- name: Deploy GitHub Pages site | ||
uses: actions/[email protected] | ||
with: | ||
# GitHub token | ||
token: # default is ${{ github.token }} | ||
# Time in milliseconds after which to timeout and cancel the deployment (default: 10 minutes) | ||
timeout: # optional, default is 600000 | ||
# Maximum number of status report errors before cancelling a deployment (default: 10) | ||
error_count: # optional, default is 10 | ||
# Time in milliseconds between two deployment status report (default: 5 seconds) | ||
reporting_interval: # optional, default is 5000 | ||
# Name of the artifact to deploy | ||
artifact_name: kanister.io | ||
# Is this attempting to deploy a pull request as a GitHub Pages preview site? (NOTE: This feature is only in alpha currently and is not available to the public!) | ||
preview: false | ||
|
||
|
||
|
||
- name: Fix permissions | ||
run: | | ||
chmod -c -R +rX "_site/" | while read line; do | ||
echo "::warning title=Invalid file permissions automatically fixed::$line" | ||
done | ||
- name: Upload Pages artifact | ||
uses: actions/upload-pages-artifact@v2 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
kanister.io | ||
_site | ||
node_modules | ||
package-lock.json | ||
# TODO: better sources? | ||
|
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