mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Use major version tags (#1152)
This commit is contained in:
parent
d45cebdf6f
commit
95ff531c09
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
# Workflow dispatch event that pushes the current version to the release branch.
|
# Workflow dispatch event that pushes the current version to the release branch.
|
||||||
# From here the secondary production deployment workflow will trigger to build the dependencies.
|
# From here the secondary production deployment workflow will trigger to build the dependencies.
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
branch: releases/v4
|
branch: releases/v4
|
||||||
folder: .
|
folder: .
|
||||||
|
26
.github/workflows/integration.yml
vendored
26
.github/workflows/integration.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
git-config-name: Montezuma
|
git-config-name: Montezuma
|
||||||
git-config-email: montezuma@jamesiv.es
|
git-config-email: montezuma@jamesiv.es
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
folder: integration
|
folder: integration
|
||||||
@ -73,7 +73,7 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
folder: integration
|
folder: integration
|
||||||
target-folder: cat/montezuma2
|
target-folder: cat/montezuma2
|
||||||
@ -103,7 +103,7 @@ jobs:
|
|||||||
apt-get update && apt-get install -y rsync
|
apt-get update && apt-get install -y rsync
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
folder: integration
|
folder: integration
|
||||||
target-folder: cat/montezuma2
|
target-folder: cat/montezuma2
|
||||||
@ -126,7 +126,7 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
||||||
folder: integration
|
folder: integration
|
||||||
@ -155,7 +155,7 @@ jobs:
|
|||||||
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
|
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
ssh-key: true
|
ssh-key: true
|
||||||
folder: integration
|
folder: integration
|
||||||
@ -182,7 +182,7 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
||||||
folder: integration
|
folder: integration
|
||||||
@ -190,7 +190,7 @@ jobs:
|
|||||||
silent: true
|
silent: true
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
||||||
folder: integration
|
folder: integration
|
||||||
@ -222,7 +222,7 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
folder: integration
|
folder: integration
|
||||||
@ -240,7 +240,7 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
branch: integration-test-delete-prod
|
branch: integration-test-delete-prod
|
||||||
@ -249,7 +249,7 @@ jobs:
|
|||||||
silent: true
|
silent: true
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
branch: integration-test-delete-prod
|
branch: integration-test-delete-prod
|
||||||
@ -277,7 +277,7 @@ jobs:
|
|||||||
run: echo $RANDOM > integration/1
|
run: echo $RANDOM > integration/1
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
git-config-name: Montezuma
|
git-config-name: Montezuma
|
||||||
git-config-email: montezuma@jamesiv.es
|
git-config-email: montezuma@jamesiv.es
|
||||||
@ -299,7 +299,7 @@ jobs:
|
|||||||
run: echo $RANDOM > integration/2
|
run: echo $RANDOM > integration/2
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Build and Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
git-config-name: Montezuma
|
git-config-name: Montezuma
|
||||||
git-config-email: montezuma@jamesiv.es
|
git-config-email: montezuma@jamesiv.es
|
||||||
|
2
.github/workflows/sponsors.yml
vendored
2
.github/workflows/sponsors.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
organization: true
|
organization: true
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
branch: dev
|
branch: dev
|
||||||
folder: '.'
|
folder: '.'
|
||||||
|
12
README.md
12
README.md
@ -75,7 +75,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
folder: build # The folder the action should deploy.
|
folder: build # The folder the action should deploy.
|
||||||
```
|
```
|
||||||
@ -201,7 +201,7 @@ With this configured, you can then set the `ssh-key` part of the action to your
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
folder: site
|
folder: site
|
||||||
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
||||||
@ -230,7 +230,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
folder: build
|
folder: build
|
||||||
clean: true
|
clean: true
|
||||||
@ -299,7 +299,7 @@ jobs:
|
|||||||
name: site
|
name: site
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
folder: 'site' # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here.
|
folder: 'site' # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here.
|
||||||
```
|
```
|
||||||
@ -319,7 +319,7 @@ If you use a [container](https://help.github.com/en/actions/automating-your-work
|
|||||||
apt-get update && apt-get install -y rsync
|
apt-get update && apt-get install -y rsync
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -353,7 +353,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
folder: build
|
folder: build
|
||||||
clean: true
|
clean: true
|
||||||
|
Loading…
Reference in New Issue
Block a user