Rename secrets

This commit is contained in:
Kieran 2023-07-03 11:56:13 +01:00
parent 583bbe76a1
commit f15d021f23
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -9,17 +9,17 @@ trigger:
metadata: metadata:
namespace: git namespace: git
steps: steps:
- name: Push/Pull translations - name: Push/Pull translations
image: node:current-bullseye image: node:current-bullseye
volumes: volumes:
- name: cache - name: cache
path: /cache path: /cache
environment: environment:
YARN_CACHE_FOLDER: /cache/.yarn-translations YARN_CACHE_FOLDER: /cache/.yarn-translations
TOKEN: TOKEN:
from_secret: drone_gitea from_secret: gitea
CTOKEN: CTOKEN:
from_secret: crowdin_token from_secret: crowdin
commands: commands:
- git config --global user.email drone@v0l.io - git config --global user.email drone@v0l.io
- git config --global user.name "Drone CI" - git config --global user.name "Drone CI"
@ -51,7 +51,7 @@ steps:
volumes: volumes:
- name: cache - name: cache
path: /cache path: /cache
environment: environment:
YARN_CACHE_FOLDER: /cache/.yarn-docker YARN_CACHE_FOLDER: /cache/.yarn-docker
commands: commands:
- yarn install - yarn install
@ -62,7 +62,7 @@ steps:
volumes: volumes:
- name: cache - name: cache
path: /cache path: /cache
environment: environment:
TOKEN: TOKEN:
from_secret: docker_hub from_secret: docker_hub
commands: commands:
@ -84,7 +84,7 @@ concurrency:
limit: 1 limit: 1
trigger: trigger:
event: event:
- tag - tag
metadata: metadata:
namespace: git namespace: git
steps: steps:
@ -93,7 +93,7 @@ steps:
volumes: volumes:
- name: cache - name: cache
path: /cache path: /cache
environment: environment:
YARN_CACHE_FOLDER: /cache/.yarn-docker-release YARN_CACHE_FOLDER: /cache/.yarn-docker-release
commands: commands:
- yarn install - yarn install
@ -104,7 +104,7 @@ steps:
volumes: volumes:
- name: cache - name: cache
path: /cache path: /cache
environment: environment:
TOKEN: TOKEN:
from_secret: docker_hub from_secret: docker_hub
commands: commands:
@ -132,7 +132,7 @@ steps:
volumes: volumes:
- name: cache - name: cache
path: /cache path: /cache
environment: environment:
YARN_CACHE_FOLDER: /cache/.yarn-test YARN_CACHE_FOLDER: /cache/.yarn-test
commands: commands:
- yarn install - yarn install
@ -143,4 +143,4 @@ steps:
volumes: volumes:
- name: cache - name: cache
claim: claim:
name: docker-cache name: docker-cache