chore: fix typos #70
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
# This GitHub Actions workflow is generated and deployed by https://cleavr.io | |
# The filename, cleavr_uf6homu3kr, of this workflow is tracked from within Cleavr, | |
# please don't change the name. Though, feel free to add your own steps or tweak | |
# the existing ones except anything listed below the warning message. | |
# Read more about Cleavr's GitHub Actions integration feature at: https://bit.ly/397WKh6 | |
name: Deploy docs.cleavr.io App with Cleavr | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
# This is the branch that gets deployed when a push is made to this repository. | |
# If you change the default branch in Cleavr under the Webapp's settings, make sure to change it here as well. | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: bahmutov/npm-install@v1 | |
- name: Build site | |
run: npm run generate --fail-on-error | |
### --- PLEASE DO NOT MODIFY ANYTHING BELOW THIS LINE --- ### | |
- name: Generate artifact name | |
id: artifact | |
uses: nanzm/[email protected] | |
with: | |
timeZone: 8 | |
format: 'YYYYMMDDHHmmss' | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: '${{ steps.artifact.outputs.time }}' | |
path: dist/ | |
- name: Start Cleavr Deployment | |
uses: fjogeleit/http-request-action@master | |
with: | |
url: '${{ secrets.DEPLOY_TRIGGER_HOOK_cleavr_uf6homu3kr }}' | |
method: 'POST' | |
timeout: 60000 | |
customHeaders: '{"artifact": "${{ steps.artifact.outputs.time }}"}' |