Skip to content

Commit

Permalink
ci: Wrangler website deployer (#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored Oct 29, 2024
1 parent 89fc240 commit 27ab3a2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

environment:
name: stockindicators.dev
url: https://dotnet.stockindicators.dev
url: ${{ steps.deploy.outputs.deployment-alias-url }}

steps:
- name: Checkout source
Expand Down Expand Up @@ -63,10 +63,12 @@ jobs:
run: bundle exec jekyll build

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
id: deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_KEY }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ vars.CLOUDFLARE_PROJECT_NAME }}
directory: docs/_site
wranglerVersion: 'latest'
wranglerVersion: "latest"
command: >
pages deploy docs/_site
--project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }}
8 changes: 4 additions & 4 deletions docs/GemFile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.2.1)
activesupport (7.2.1.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
Expand Down Expand Up @@ -35,7 +35,7 @@ GEM
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.9.1)
execjs (2.10.0)
faraday (2.12.0)
faraday-net_http (>= 2.0, < 3.4)
json
Expand Down Expand Up @@ -223,7 +223,7 @@ GEM
gemoji (>= 3, < 5)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
json (2.7.2)
json (2.7.4)
json-minify (0.0.3)
json (> 0)
kramdown (2.4.0)
Expand Down Expand Up @@ -257,7 +257,7 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.8)
rexml (3.3.9)
rouge (3.30.0)
rubyzip (2.3.2)
safe_yaml (1.0.5)
Expand Down

0 comments on commit 27ab3a2

Please sign in to comment.