diff --git a/.github/workflows/deploy-documentation.yml b/.github/workflows/deploy-documentation.yml index edd746ef..d511c0ce 100644 --- a/.github/workflows/deploy-documentation.yml +++ b/.github/workflows/deploy-documentation.yml @@ -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 }}."