|
1 | | -name: Publish to cldr-smoke |
2 | | - |
3 | | -on: |
4 | | - push: |
5 | | - branches: |
6 | | - - main |
7 | | - # - cldr-15136/post-smoke ## TODO TESTING |
8 | | - # Only run if docs change. |
9 | | - ## TODO CLDR-15464 reenable this!! |
10 | | - # paths: |
11 | | - # - "tools/scripts/tr-archive/**" |
12 | | - # - "docs/**" |
13 | | - # - '.github/workflows/gh-pages.yml' |
14 | | -jobs: |
15 | | - build: |
| 1 | + preview: |
| 2 | + environment: preview |
16 | 3 | runs-on: ubuntu-latest |
17 | 4 | steps: |
18 | | - - run: 'not currently used on main' |
19 | | - # - uses: actions/checkout@v4 |
20 | | - # with: |
21 | | - # lfs: false |
22 | | - # - uses: ruby/setup-ruby@v1 |
23 | | - # with: |
24 | | - # ruby-version: 3.2 |
25 | | - # bundler-cache: true |
26 | | - # - name: Build Jekyll part of the site |
27 | | - # run: | |
28 | | - # gem install bundler github-pages kramdown-parser-gfm # should pull in jekyll, etc. |
29 | | - # jekyll build -s docs -d _site |
30 | | - # # - name: Rearrange stuff |
31 | | - # # run: 'cp -vr tools/scripts/tr-archive/dist/* ./_site/ldml/ && cp tools/scripts/tr-archive/reports-v2.css ./_site/' |
32 | | - # # - name: Deploy to GitHub Pages (main) |
33 | | - # # if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
34 | | - # # uses: Cecilapp/GitHub-Pages-deploy@v3 |
35 | | - # # env: |
36 | | - # # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
37 | | - # # with: |
38 | | - |
39 | | - # # build_dir: _site # optional |
40 | | - # # branch: gh-pages # optional |
41 | | - # # # cname: domain.tld # optional |
42 | | - # # # jekyll: no # optional |
43 | | - # # commit_message: CLDR-00000 Automated Build of Pages # optional |
44 | | - # - name: rsync _site |
45 | | - # uses: burnett01/[email protected] |
46 | | - # with: |
47 | | - # switches: -avzr --delete |
48 | | - # path: _site/ |
49 | | - # remote_path: ${{ secrets.STAGING_DEV_PATH }} |
50 | | - # remote_host: ${{ secrets.STAGING_DEV_HOST }} |
51 | | - # remote_user: ${{ secrets.STAGING_DEV_USER }} |
52 | | - # remote_key: ${{ secrets.STAGING_DEV_KEY }} |
53 | | - |
54 | | -# only run one of these at a time |
55 | | -# concurrency: |
56 | | -# group: ${{ github.workflow }}-${{ github.ref }} |
57 | | -# cancel-in-progress: true |
0 commit comments