Skip to content

Commit dcbdc0c

Browse files
authored
Merge pull request #15 from quantcdn/feat/v6-cli
Upgrade to Quant CLI v6 and actions/checkout v6
2 parents aed7f08 + 9cd4e08 commit dcbdc0c

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727

2828
- name: Prepare a test file
2929
run: |
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
steps:
4444
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v6
4646

4747
- name: Prepare a test file
4848
run: |
@@ -65,7 +65,7 @@ jobs:
6565
test-functions:
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@v4
68+
- uses: actions/checkout@v6
6969

7070
# Create test functions
7171
- name: Prepare test functions

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Deploy to QuantCDN Action
22

3-
This GitHub Action deploys your static site and/or functions to QuantCDN using the Quant CLI v5.
3+
This GitHub Action deploys your static site and/or functions to QuantCDN using the Quant CLI v6.
44

55
## Usage
66

77
### Deploy Assets
88
```yaml
9-
- uses: quantcdn/action-deploy@v5
9+
- uses: quantcdn/action-deploy@v6
1010
with:
1111
customer: your-customer-id
1212
project: your-project-name
@@ -16,7 +16,7 @@ This GitHub Action deploys your static site and/or functions to QuantCDN using t
1616
1717
### Deploy Functions
1818
```yaml
19-
- uses: quantcdn/action-deploy@v5
19+
- uses: quantcdn/action-deploy@v6
2020
with:
2121
customer: your-customer-id
2222
project: your-project-name
@@ -56,15 +56,15 @@ jobs:
5656
deploy:
5757
runs-on: ubuntu-latest
5858
steps:
59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v6
6060
6161
- name: Build site
6262
run: |
6363
npm install
6464
npm run build
6565
6666
- name: Deploy to QuantCDN
67-
uses: quantcdn/action-deploy@v5
67+
uses: quantcdn/action-deploy@v6
6868
with:
6969
customer: your-customer-id
7070
project: your-project-name
@@ -109,10 +109,10 @@ jobs:
109109
deploy:
110110
runs-on: ubuntu-latest
111111
steps:
112-
- uses: actions/checkout@v4
112+
- uses: actions/checkout@v6
113113
114114
- name: Deploy Functions
115-
uses: quantcdn/action-deploy@v5
115+
uses: quantcdn/action-deploy@v6
116116
with:
117117
customer: your-customer-id
118118
project: your-project-name
@@ -132,15 +132,15 @@ jobs:
132132
deploy:
133133
runs-on: ubuntu-latest
134134
steps:
135-
- uses: actions/checkout@v4
135+
- uses: actions/checkout@v6
136136
137137
- name: Build site
138138
run: |
139139
npm install
140140
npm run build
141141
142142
- name: Deploy to QuantCDN
143-
uses: quantcdn/action-deploy@v5
143+
uses: quantcdn/action-deploy@v6
144144
with:
145145
customer: your-customer-id
146146
project: your-project-name
@@ -151,7 +151,7 @@ jobs:
151151

152152
## Notes
153153

154-
- This action uses Quant CLI v5
154+
- This action uses Quant CLI v6
155155
- For search functionality, please use the dedicated search action
156156
- Make sure your `QUANT_TOKEN` is stored securely in your repository secrets
157157

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ runs:
5454
steps:
5555
- name: Deploy Functions
5656
if: inputs.functions != ''
57-
uses: "docker://quantcdn/cli:5.1.1"
57+
uses: "docker://quantcdn/cli:6.0.0"
5858
env:
5959
CUSTOMER: ${{ inputs.customer }}
6060
TOKEN: ${{ inputs.token }}
@@ -71,7 +71,7 @@ runs:
7171
7272
- name: Deploy Assets
7373
if: inputs.dir != ''
74-
uses: "docker://quantcdn/cli:5.1.1"
74+
uses: "docker://quantcdn/cli:6.0.0"
7575
with:
7676
args: >
7777
deploy

0 commit comments

Comments
 (0)