@@ -35,15 +35,15 @@ jobs:
3535 - name : deploy_dev
3636 if : github.ref == 'refs/heads/development'
3737 env :
38- artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
38+ ARTIFACTORY_ACCESS_TOKEN : ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
3939 run : |
4040 zipfile=open-ephys-latest-mac-dev.zip
4141 cd Build/Release
4242 mkdir open-ephys
4343 mv open-ephys.app/ open-ephys
4444 zip -r $zipfile open-ephys
45- user_info="X-JFrog-Art-Api:$artifactoryApiKey "
46- curl -H $user_info -T $zipfile "https://openephysgui .jfrog.io/artifactory/Dev/mac/$zipfile"
45+ user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN "
46+ curl -H $user_info -T $zipfile "https://openephys .jfrog.io/artifactory/GUI-binaries /Dev/mac/$zipfile"
4747 brew install create-dmg && create-dmg \
4848 --volname "Open-Ephys Installer" \
4949 --volicon "open-ephys/open-ephys.app/Contents/Resources/Icon.icns" \
@@ -58,20 +58,20 @@ jobs:
5858 "open-ephys/"
5959 installer=Open_Ephys_GUI_latest-dev.dmg
6060 mv -v Open-Ephys-Installer.dmg $installer
61- curl -H $user_info -T $installer "https://openephysgui .jfrog.io/artifactory/Dev-Installer/mac/$installer"
61+ curl -H $user_info -T $installer "https://openephys .jfrog.io/artifactory/GUI-binaries /Dev-Installer/mac/$installer"
6262 - name : deploy_test
6363 if : github.ref == 'refs/heads/testing'
6464 env :
65- artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
65+ ARTIFACTORY_ACCESS_TOKEN : ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
6666 run : |
6767 gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
6868 zipfile=open-ephys-${gui_ver}-mac-beta.zip
6969 cd Build/Release
7070 mkdir open-ephys
7171 mv open-ephys.app/ open-ephys
7272 zip -r $zipfile open-ephys
73- user_info="X-JFrog-Art-Api:$artifactoryApiKey "
74- curl -H $user_info -T $zipfile "https://openephysgui .jfrog.io/artifactory/Test/mac/$zipfile"
73+ user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN "
74+ curl -H $user_info -T $zipfile "https://openephys .jfrog.io/artifactory/GUI-binaries /Test/mac/$zipfile"
7575 brew install create-dmg && create-dmg \
7676 --volname "Open-Ephys Installer" \
7777 --volicon "open-ephys/open-ephys.app/Contents/Resources/Icon.icns" \
@@ -86,20 +86,20 @@ jobs:
8686 "open-ephys/"
8787 installer=Open_Ephys_GUI_${gui_ver}-beta.dmg
8888 mv -v Open-Ephys-Installer.dmg $installer
89- curl -H $user_info -T $installer "https://openephysgui .jfrog.io/artifactory/Test-Installer/mac/$installer"
89+ curl -H $user_info -T $installer "https://openephys .jfrog.io/artifactory/GUI-binaries /Test-Installer/mac/$installer"
9090 - name : deploy_release
9191 if : github.ref == 'refs/heads/main'
9292 env :
93- artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
93+ ARTIFACTORY_ACCESS_TOKEN : ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
9494 run : |
9595 gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
9696 zipfile=open-ephys-${gui_ver}-mac.zip
9797 cd Build/Release
9898 mkdir open-ephys
9999 mv open-ephys.app/ open-ephys
100100 zip -r $zipfile open-ephys
101- user_info="X-JFrog-Art-Api:$artifactoryApiKey "
102- curl -H $user_info -T $zipfile "https://openephysgui .jfrog.io/artifactory/Release/mac/$zipfile"
101+ user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN "
102+ curl -H $user_info -T $zipfile "https://openephys .jfrog.io/artifactory/GUI-binaries /Release/mac/$zipfile"
103103 brew install create-dmg && create-dmg \
104104 --volname "Open-Ephys Installer" \
105105 --volicon "open-ephys/open-ephys.app/Contents/Resources/Icon.icns" \
@@ -114,4 +114,4 @@ jobs:
114114 "open-ephys/"
115115 installer=Open_Ephys_GUI_${gui_ver}.dmg
116116 mv -v Open-Ephys-Installer.dmg $installer
117- curl -H $user_info -T $installer "https://openephysgui .jfrog.io/artifactory/Release-Installer/mac/$installer"
117+ curl -H $user_info -T $installer "https://openephys .jfrog.io/artifactory/GUI-binaries /Release-Installer/mac/$installer"
0 commit comments