Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
r-dent committed Jan 31, 2024
1 parent 656e081 commit 71dcc73
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,23 @@ jobs:
runs-on: macos-14
environment: documentation-build
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."

- name: Check Xcode version
run: /usr/bin/xcodebuild -version

- name: List Xcode versions
run: sudo ls -1 /Applications | grep "Xcode"
- name: Print job info
run: |
echo "The job was automatically triggered by a ${{ github.event_name }} event and is now running on a ${{ runner.os }} server."
echo "The repository is ${{ github.repository }} and the branch is ${{ github.ref }}."
echo "Available XCode versions:"
sudo ls -1 /Applications | grep "Xcode"
echo "Selected XCode version:"
/usr/bin/xcodebuild -version
- name: Check out repository code
uses: actions/checkout@v4

- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."

- name: List files in the repository
run: |
ls ${{ github.workspace }}
run: ls ${{ github.workspace }}

- name: Run the build script
run: sh build-documentation.sh -u $GIT_ACCOUNT_NAME -t $GIT_API_TOKEN
env:
GIT_ACCOUNT_NAME: ${{ vars.GIT_ACCOUNT_NAME }}
GIT_API_TOKEN: ${{ secrets.GIT_API_TOKEN }}

- run: echo "🍏 This job's status is ${{ job.status }}."

0 comments on commit 71dcc73

Please sign in to comment.