[MCP] Fix security task def to readonly fs (#27) #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy MCP Server API | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| - name: Install AWS Copilot CLI | |
| run: | | |
| curl -Lo copilot-cli https://github.com/aws/copilot-cli/releases/latest/download/copilot-linux | |
| chmod +x copilot-cli | |
| sudo mv copilot-cli /usr/local/bin/copilot | |
| - name: Configure AWS Credentials | |
| uses: aws-actions/configure-aws-credentials@v4 | |
| with: | |
| aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| aws-region: us-east-1 | |
| - name: Deploy service | |
| run: copilot svc deploy --name mcp-server-api |