-
Notifications
You must be signed in to change notification settings - Fork 33
50 lines (43 loc) · 1.04 KB
/
deploy-alpha.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Escalade Deploy Alpha
env:
module_app: app
on:
push:
branches:
- "main"
tags:
- "*"
pull_request:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0 #To Fetch All Tags and Branches
- name: Install Dependencies
uses: php-actions/composer@v6
with:
dev: no
##########################################
# Push / Pull translation files #
##########################################
# Push Transifex
- name: Push source file using transifex client
uses: transifex/cli-action@v2
with:
args: push
token: ${{ secrets.TX_TOKEN }}
# Clean Transifex CLI
- name: Clean Transifex CLI
run: rm -fr /tmp/tx
# Pull from Transifex
- name: Pull source file using transifex client
uses: transifex/cli-action@v2
with:
args: pull --minimum-perc=80
token: ${{ secrets.TX_TOKEN }}