diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 49bbbad..3845dc1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,19 +29,19 @@ jobs: uses: azure/login@v1 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - - name: Azure CLI script + - name: Upload to Azure uses: azure/CLI@v1 with: azcliversion: 2.0.72 inlineScript: | az storage blob upload-batch -s public/roadmap -d \$web/roadmap --account-name iamai --content-cache-control 'public,max-age=3600' - - name: Azure CLI script + - name: Purge Azure CDN uses: azure/CLI@v1 with: azcliversion: 2.0.72 inlineScript: | az cdn endpoint purge --content-paths "/*" --profile-name "i-am-ai" --name "i-am-ai" --resource-group "Productive" # Azure logout - - name: logout + - name: Azure Logout run: | az logout diff --git a/.vuepress/config.js b/.vuepress/config.js index 8485b8a..7722d83 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -24,7 +24,7 @@ module.exports = { { text: 'AI Newsletter', link: 'https://i.am.ai/newsletter', target:'_self' }, ] }, - patterns: process.env.EXPORT_PDF === 'True' ? ['**/*.md', '!.md'] : ['**/*.md', '**/*.vue'], + patterns: process.env.EXPORT_PDF === 'True' ? ['readme.md'] : ['**/*.md', '**/*.vue'], plugins: ['@snowdog/vuepress-plugin-pdf-export', { puppeteerLaunchOptions: { args: ['--no-sandbox', '--disable-setuid-sandbox']