Last active
November 29, 2020 10:22
-
-
Save simbo/23db07753be7c5410707341386ff5081 to your computer and use it in GitHub Desktop.
GitHub Actions Workflow to deploy User or Organization Pages
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
name: CI | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛎 Checkout | |
uses: actions/checkout@v2 | |
# add your test and build pipeline here | |
- name: 🔑 Prepare SSH Client | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: 🚚 Deploy | |
uses: JamesIves/[email protected] | |
with: | |
SSH: true | |
REPOSITORY_NAME: myself/awesome-page | |
BRANCH: master | |
FOLDER: dist | |
CLEAN: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment