-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (42 loc) · 1.63 KB
/
1000-Ludovic-private-actions.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
51
52
53
name: Ludovic Private Actions
# Controls when the workflow will run
on:
repository_dispatch:
types: [update-pages-event]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
LXNAV_CONNECT_POINTS_FOLDER_ID: "1Q8zzZsNvlY2Spo7REuXINsFSW1YHfYxP"
jobs:
copy-to-gdrive:
# Copy files to Google Drive
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Clone this repo
uses: actions/checkout@v3
# Cupx files
- name: Upload to gdrive - cupx
uses: adityak74/google-drive-upload-git-action@main
with:
credentials: ${{ secrets.GDRIVE_LUDOVIC_LAUNER_CREDENTIALS }}
filename: "*.cupx"
folderId: ${{ env.LXNAV_CONNECT_POINTS_FOLDER_ID }}
overwrite: "true"
# Mountain peaks
- name: Upload to gdrive - cup
uses: adityak74/google-drive-upload-git-action@main
with:
credentials: ${{ secrets.GDRIVE_LUDOVIC_LAUNER_CREDENTIALS }}
filename: "*_peaks_*.cup"
folderId: ${{ env.LXNAV_CONNECT_POINTS_FOLDER_ID }}
overwrite: "true"
# Ludo specific waypoint file
- name: Upload to gdrive - Misc waypoints
uses: adityak74/google-drive-upload-git-action@main
with:
credentials: ${{ secrets.GDRIVE_LUDOVIC_LAUNER_CREDENTIALS }}
filename: "./Misc/Ludo_waypoints.cup"
folderId: ${{ env.LXNAV_CONNECT_POINTS_FOLDER_ID }}
overwrite: "true"