mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-28 08:30:42 +00:00
ci: use BPMN_IO_TOKEN for authentication
This commit is contained in:
parent
72c0eff1b1
commit
b879989bf2
8
.github/workflows/POST_RELEASE.yml
vendored
8
.github/workflows/POST_RELEASE.yml
vendored
@ -42,14 +42,14 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- name: Update integration test
|
- name: Update integration test
|
||||||
env:
|
env:
|
||||||
GH_AUTH: ${{ secrets.GH_AUTH }}
|
BPMN_IO_TOKEN: ${{ secrets.BPMN_IO_TOKEN }}
|
||||||
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
|
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
|
||||||
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
|
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
|
||||||
run: bash tasks/stages/update-integration-test
|
run: bash tasks/stages/update-integration-test
|
||||||
- name: Update demo
|
- name: Update demo
|
||||||
if: ${{ env.STABLE_RELEASE == 'true' }}
|
if: ${{ env.STABLE_RELEASE == 'true' }}
|
||||||
env:
|
env:
|
||||||
GH_AUTH: ${{ secrets.GH_AUTH }}
|
BPMN_IO_TOKEN: ${{ secrets.BPMN_IO_TOKEN }}
|
||||||
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
|
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
|
||||||
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
|
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
|
||||||
BPMN_IO_DEMO_ENDPOINT: ${{ secrets.BPMN_IO_DEMO_ENDPOINT }}
|
BPMN_IO_DEMO_ENDPOINT: ${{ secrets.BPMN_IO_DEMO_ENDPOINT }}
|
||||||
@ -57,14 +57,14 @@ jobs:
|
|||||||
- name: Update examples
|
- name: Update examples
|
||||||
if: ${{ env.STABLE_RELEASE == 'true' }}
|
if: ${{ env.STABLE_RELEASE == 'true' }}
|
||||||
env:
|
env:
|
||||||
GH_AUTH: ${{ secrets.GH_AUTH }}
|
BPMN_IO_TOKEN: ${{ secrets.BPMN_IO_TOKEN }}
|
||||||
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
|
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
|
||||||
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
|
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
|
||||||
run: bash tasks/stages/update-examples
|
run: bash tasks/stages/update-examples
|
||||||
- name: Update website
|
- name: Update website
|
||||||
if: ${{ env.STABLE_RELEASE == 'true' }}
|
if: ${{ env.STABLE_RELEASE == 'true' }}
|
||||||
env:
|
env:
|
||||||
GH_AUTH: ${{ secrets.GH_AUTH }}
|
BPMN_IO_TOKEN: ${{ secrets.BPMN_IO_TOKEN }}
|
||||||
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
|
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
|
||||||
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
|
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
|
||||||
run: bash tasks/stages/update-website
|
run: bash tasks/stages/update-website
|
||||||
|
@ -9,7 +9,7 @@ CLONE_DIR="$WORKDIR/bpmn-io-demo"
|
|||||||
# create work dir
|
# create work dir
|
||||||
mkdir -p "$WORKDIR"
|
mkdir -p "$WORKDIR"
|
||||||
|
|
||||||
git clone --depth=1 "https://$GH_AUTH@github.com/$BPMN_IO_DEMO_ENDPOINT.git" "$CLONE_DIR"
|
git clone --depth=1 "https://$BPMN_IO_TOKEN@github.com/$BPMN_IO_DEMO_ENDPOINT.git" "$CLONE_DIR"
|
||||||
|
|
||||||
cd "$CLONE_DIR"
|
cd "$CLONE_DIR"
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ EXAMPLES_DIR="$WORKDIR/bpmn-js-examples"
|
|||||||
# create work dir
|
# create work dir
|
||||||
mkdir -p "$WORKDIR"
|
mkdir -p "$WORKDIR"
|
||||||
|
|
||||||
git clone --depth=1 "https://$GH_AUTH@github.com/bpmn-io/bpmn-js-examples.git" "$EXAMPLES_DIR"
|
git clone --depth=1 "https://$BPMN_IO_TOKEN@github.com/bpmn-io/bpmn-js-examples.git" "$EXAMPLES_DIR"
|
||||||
|
|
||||||
cd "$EXAMPLES_DIR"
|
cd "$EXAMPLES_DIR"
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ IT_DIR="$WORKDIR/bpmn-js-integration"
|
|||||||
# create work dir
|
# create work dir
|
||||||
mkdir -p "$WORKDIR"
|
mkdir -p "$WORKDIR"
|
||||||
|
|
||||||
git clone --depth=1 "https://$GH_AUTH@github.com/bpmn-io/bpmn-js-integration.git" "$IT_DIR"
|
git clone --depth=1 "https://$BPMN_IO_TOKEN@github.com/bpmn-io/bpmn-js-integration.git" "$IT_DIR"
|
||||||
|
|
||||||
cd "$IT_DIR"
|
cd "$IT_DIR"
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ CLONE_DIR="$WORKDIR/bpmn.io"
|
|||||||
# create work dir
|
# create work dir
|
||||||
mkdir -p "$WORKDIR"
|
mkdir -p "$WORKDIR"
|
||||||
|
|
||||||
git clone --depth=1 "https://$GH_AUTH@github.com/bpmn-io/bpmn.io.git" "$CLONE_DIR"
|
git clone --depth=1 "https://$BPMN_IO_TOKEN@github.com/bpmn-io/bpmn.io.git" "$CLONE_DIR"
|
||||||
|
|
||||||
cd "$CLONE_DIR"
|
cd "$CLONE_DIR"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user