Skip to content

Commit

Permalink
Add action to copy france.txt airspace file
Browse files Browse the repository at this point in the history
  • Loading branch information
llauner committed Apr 13, 2024
1 parent c938b8a commit bac4a52
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/1000-Ludovic-private-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
LXNAV_CONNECT_POINTS_FOLDER_ID: "1Q8zzZsNvlY2Spo7REuXINsFSW1YHfYxP"
LXNAV_CONNECT_POINTS_AIRSPACES_FOLDER_ID: "1csikusLjOikFTZ9nBPiPN9U0NgznByzR"

jobs:
copy-to-gdrive:
Expand All @@ -21,6 +22,14 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Clone this repo
uses: actions/checkout@v3

- name: Clone airspace repo
uses: actions/checkout@v3
with:
repository: planeur-net/airspace
token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
path: ./airspace
ref: main

# Cupx files
- name: Upload to gdrive - cupx
Expand Down Expand Up @@ -56,6 +65,15 @@ jobs:
filename: "./Misc/Ludo_waypoints.cup"
folderId: ${{ env.LXNAV_CONNECT_POINTS_FOLDER_ID }}
overwrite: "true"

# Airspace file
- name: Upload to gdrive - Airspace file
uses: adityak74/google-drive-upload-git-action@main
with:
credentials: ${{ secrets.GDRIVE_LUDOVIC_LAUNER_CREDENTIALS }}
filename: "./airspace/france.txt"
folderId: ${{ env.LXNAV_CONNECT_POINTS_AIRSPACES_FOLDER_ID }}
overwrite: "true"



0 comments on commit bac4a52

Please sign in to comment.