Workflow file for this run
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
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "*.md" | |
- LICENSE | |
- "*.yaml" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test-deploy: | |
runs-on: ubuntu-latest | |
name: A job to test the action-deploy action by deploying a test site | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Deploy test site | |
id: deploy | |
uses: fleekhq/action-deploy@v1 | |
with: | |
apiKey: ${{ secrets.FLEEK_API_KEY }} | |
- name: Get the output url | |
run: echo "Deploy url is ${{ steps.deploy.outputs.deployUrl }}" |