Skip to content

Commit d03be30

Browse files
authored
Merge pull request #27 from AdamG100/master
Update Github Workflow's
2 parents 88e09ef + 7e29002 commit d03be30

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ on:
77

88
jobs:
99
deploy:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
1313
defaults:
1414
run:
1515
working-directory: .
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Setup Node
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121

2222
- name: Get yarn cache
2323
id: yarn-cache
2424
run: echo "::set-output name=dir::$(yarn cache dir)"
2525

2626
- name: Cache dependencies
27-
uses: actions/cache@v2
27+
uses: actions/cache@v4
2828
with:
2929
path: ${{ steps.yarn-cache.outputs.dir }}
3030
key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
@@ -35,26 +35,26 @@ jobs:
3535
- run: yarn build
3636

3737
- name: Deploy
38-
uses: peaceiris/actions-gh-pages@v3
38+
uses: peaceiris/actions-gh-pages@v4
3939
with:
4040
github_token: ${{ secrets.GITHUB_TOKEN }}
4141
publish_dir: ./build
4242
cname: docs.tcadmin.com
43-
43+
4444
- name: Run DocSearch Scraper
4545
uses: celsiusnarhwal/typesense-scraper@v2
4646
with:
4747
# The secret containing your Typesense API key. Required.
4848
api-key: ${{ secrets.TYPESENSE_API_KEY }}
49-
49+
5050
# The hostname or IP address of your Typesense server. Required.
5151
host: typesense.tcadmin.k8s.ovh.alexr03.dev
52-
52+
5353
# The port on which your Typesense server is listening. Optional. Default: 8108.
5454
port: 443
55-
55+
5656
# The protocol to use when connecting to your Typesense server. Optional. Default: http.
5757
protocol: https
58-
58+
5959
# The path to your DocSearch config file. Optional. Default: docsearch.config.json.
6060
config: docsearch.config.json

0 commit comments

Comments
 (0)