Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Whole bunch of general improvements (#33)
* Whole bunch of general improvements

* debug

* Fix env

* Add all outputs to workflow

* pls fail

* Fix deployment saying prod

* remove debug

* Fix alias issue
  • Loading branch information
Daniel Walsh authored and GitHub committed Dec 6, 2022
1 parent 364c7ca commit 5a764d1
Show file tree
Hide file tree
Showing 7 changed files with 8,242 additions and 2,001 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/example.yml
Expand Up @@ -19,5 +19,9 @@ jobs:
directory: example
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
id: publish
- name: Deployment URL
run: echo "${{ steps.publish.outputs.url }}"
- name: Outputs
run: |
echo "ID: ${{ steps.publish.outputs.id }}"
echo "URL: ${{ steps.publish.outputs.url }}"
echo "Environment: ${{ steps.publish.outputs.environment }}"
echo "Alias: ${{ steps.publish.outputs.alias }}"
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -31,6 +31,7 @@ GitHub Action for creating Cloudflare Pages deployments, using the new [Direct U
accountId: YOUR_ACCOUNT_ID
projectName: YOUR_PROJECT_NAME
directory: YOUR_ASSET_DIRECTORY
# Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
```

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -18,7 +18,7 @@ inputs:
required: true
gitHubToken:
description: "GitHub Token"
required: true
required: false
branch:
description: "The name of the branch you want to deploy to"
required: false
Expand Down

0 comments on commit 5a764d1

Please sign in to comment.