Skip to content

Commit

Permalink
Setup for release
Browse files Browse the repository at this point in the history
  • Loading branch information
sawbe committed Nov 16, 2020
1 parent 5596132 commit fe0e5ee
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .git-ftp-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git*
*.md
1 change: 1 addition & 0 deletions .git-ftp-include
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!profile.zip
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
release:
types: [published]

# Zips the profile and uploads to the vatsys ftp server
name: Publish Profile
jobs:
zip-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
filename: 'profile.zip'
exclusions: '*.git* /*node_modules/* .editorconfig *.md'
- name: FTP-Deploy-Action
uses: SamKirkland/[email protected]
with:
ftp-server: ftp://ftp.sawbe.com/
ftp-username: ${{ secrets.FTP_USERNAME }}
ftp-password: ${{ secrets.FTP_PASSWORD }}
2 changes: 1 addition & 1 deletion Profile.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Profile Name="ATOP Anchorage" FullName="ATOP Anchorage (PAZA)">
<Version AIRAC="2012" Revision="a" PublishDate="20201108" UpdateURL="" />
<Version AIRAC="2012" Revision="a" PublishDate="20201116" UpdateURL="https://vatsys.sawbe.com/downloads/data/ATOP%20Anchorage/" />
<Servers>
<VATSIMStatus url="http://status.vatsim.net/" />
<GRIB url="http://sawbe.com/GRIB/" />
Expand Down

0 comments on commit fe0e5ee

Please sign in to comment.