Skip to content

Commit

Permalink
Merge pull request #9 from xenit-eu/ALFINFLOW-583
Browse files Browse the repository at this point in the history
ALFINFLOW-583 change credentials in ci.yml
  • Loading branch information
bartvl-xenit authored Jun 22, 2023
2 parents ea51900 + 8d5aafc commit 21414b6
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: 'Continuous Integration'
on: [ push, workflow_dispatch ]
env:
GRADLE_OPTS: >-
-Dorg.gradle.project.buildDate=$(date +%s)
-Dorg.gradle.project.org.alfresco.maven.nexus.username=${{ secrets.ALFRESCO_NEXUS_USERNAME }}
-Dorg.gradle.project.org.alfresco.maven.nexus.password=${{ secrets.ALFRESCO_NEXUS_PASSWORD }}
-Dorg.gradle.project.eu.xenit.cloudsmith.username=${{ secrets.CLOUDSMITH_USER }}
-Dorg.gradle.project.eu.xenit.cloudsmith.password=${{ secrets.CLOUDSMITH_APIKEY }}
jobs:
continuousIntegration:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -27,12 +34,6 @@ jobs:
registry: hub.xenit.eu
username: ${{ secrets.XENIT_DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.XENIT_DOCKER_REGISTRY_PASSWORD }}
- name: Write gradle properties
run: |
mkdir -p ~/.gradle
echo 'buildDate='$(date +%s) >> ~/.gradle/gradle.properties
echo 'eu.xenit.artifactory.username='${{secrets.XENIT_ARTIFACTORY_USERNAME}} >> ~/.gradle/gradle.properties
echo 'eu.xenit.artifactory.password='${{secrets.XENIT_ARTIFACTORY_PASSWORD}} >> ~/.gradle/gradle.properties
- name: Build websites
run: |
[ -e "pandoc.deb" ] || curl -L https://github.com/jgm/pandoc/releases/download/1.17.2/pandoc-1.17.2-1-amd64.deb -o pandoc.deb
Expand All @@ -45,4 +46,4 @@ jobs:
with:
name: website
path: /home/runner/work/alfred-docs/alfred-docs/**/build/website.tar.gz
retention-days: 2
retention-days: 2

0 comments on commit 21414b6

Please sign in to comment.